<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="my" uri="mytag" %> 
<html> 
<head> 
<title>人力资源管理系统</title> 
	<link rel="stylesheet" type="text/css" href="../easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../easyui/themes/icon.css">
	<script type="text/javascript" src="../easyui/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="../easyui/jquery.easyui.min.js"></script>
	
	<script type="text/javascript" src="../js/userInfo.js"></script>
	
	<link rel="stylesheet" type="text/css" href="../css/common.css">
	<link rel="stylesheet" type="text/css" href="../css/table.css">

</head> 
<body onload="disableField()">
<TABLE class=ListTable3 border=0 cellSpacing=1 cellPadding=1
		width="98%" align=center>
		<TBODY>
			<TR class=trDeep1>
				<TD colSpan=4><IMG src="../images/new_target_wiz.gif">&nbsp;<A
					onclick="showinfo('show0')" href="javascript:void(0)">基本信息 </A></TD>
			</TR>
			<TR class=trShallow1>
				<TD colSpan=4>
					<DIV style="DISPLAY: block" id=show0>
						<TABLE class=ListTable3 border=0 cellSpacing=1 cellPadding=1
							width="100%">
							<TBODY>
								<TR class=trShallow1>
									<TD vAlign=top width="20%" noWrap align=right>姓名&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;
									<INPUT class=textColorWrite  name="name" id="name" value="${User.name }">
									
									</TD>
									<TD vAlign=top width="20%" noWrap align=right>员工登录名&nbsp;
									</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="login_name" id="login_name" value="${User.login_name }">
										
									</TD>
								</TR>
								<TR class=trDeep1>
									<TD vAlign=top width="20%" noWrap align=right>部门&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;
									<INPUT class=codecode name=department_code id="department_code" size="4" readonly ondblclick="showDialog(this,'../dialog.html?type=department')"  value="${User.department_code }">
			  						<c:set value = "${User.department_code}"  var = "department_code" />    
			  						<INPUT name="value" size="10" class="readonly" readonly value="${my:getDepartment(department_code)}" >
			  						
										</TD>
									<TD vAlign=top width="20%" noWrap align=right>岗位&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name=post_id id="post_id"  value="${User.post_id }">
										
								</TR>
								<TR class=trShallow1>
									<TD vAlign=top width="20%" noWrap align=right>性别&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;
									<c:if test="${User.gender==0}">男</c:if> 
									 <c:if test="${User.gender==1}">女</c:if> 
									</TD>
									<TD vAlign=top width="20%" noWrap align=right>名族&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;
									<INPUT class=textColorWrite name="nation" value="${User.nation }">
									</TD>
								</TR>
								<TR class=trDeep1>
									<TD vAlign=top width="20%" noWrap align=right>出生日期&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;
									<INPUT class=textColorWrite name="birthday" id="birthday" value="${User.birthday }" readOnly onClick="setDay(this);" />
										
									</TD>
									<TD vAlign=top width="20%" noWrap align=right>参加工作时间&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="work_date" id="work_date" value="${User.work_date }" readOnly onClick="setDay(this);">
										
									</TD>
								</TR>
								<TR class=trShallow1>
									<TD vAlign=top width="20%" noWrap align=right>进公司时间</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="jion_date" id="jion_date" value="${User.jion_date }" readOnly onClick="setDay(this);" >
										
									</TD>
									<TD vAlign=top width="20%" noWrap align=right>婚姻状况&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;
										<select name="is_marry" disabled> 
											<option value="0" <c:if test="${User.is_marry==0}">selected</c:if> >未知</option>
											<option value="1" <c:if test="${User.is_marry==1}">selected</c:if> >已婚</option>
											<option value="2" <c:if test="${User.is_marry==2}">selected</c:if> >未婚</option>
										</select>
									</TD>
								</TR>
								<TR class=trDeep1>
									<TD vAlign=top width="20%" noWrap align=right>身份证号&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="id_card"  value="${User.id_card }">
									</TD>
									<TD vAlign=top width="20%" noWrap align=right>&nbsp;
									</TD>
									<TD vAlign=top noWrap align=left>&nbsp;
									</TD>
								</TR>
							</TBODY>
						</TABLE>
					</DIV>
				</TD>
			</TR>
			<TR class=trDeep1>
				<TD colSpan=4><IMG src="..//images/new_target_wiz.gif">&nbsp;<A
					onclick="showinfo('show1')" href="javascript:void(0)">联系信息 </A></TD>
			</TR>
			<TR class=trShallow1>
				<TD colSpan=4>
					<DIV style="DISPLAY: " id=show1>
						<TABLE class=ListTable3 border=0 cellSpacing=1 cellPadding=1
							width="100%">
							<TBODY>
								<TR class=trShallow1>
									<TD vAlign=top width="20%" noWrap align=right>籍贯&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="native_palce"  value="${User.native_palce }">
									</TD>
									<TD vAlign=top width="20%" noWrap align=right>移动电话&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="cell_phone" 
										value="${User.cell_phone }">
									</TD>
								</TR>
								<TR class=trDeep1>
									<TD vAlign=top width="20%" noWrap align=right>电子信箱&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="email" 
										value="${User.email }">
									</TD>
									<TD vAlign=top width="20%" noWrap align=right>紧急联系人&nbsp;
									</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="emergency_people"  value="${User.emergency_people }">
									</TD>
								</TR>
								<TR class=trShallow1>
									<TD vAlign=top width="20%" noWrap align=right>紧急联系人电话&nbsp;
									</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="emergency_phone" 
										value="${User.emergency_phone }">
									</TD>
									<TD vAlign=top width="20%" noWrap align=right>户口所在地&nbsp;
									</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="residence_place"  value="${User.residence_place }">
									</TD>
								</TR>
								<TR class=trDeep1>
									<TD vAlign=top width="20%" noWrap align=right>出生地&nbsp;
									</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="birth_place" 
										value="${User.birth_place }">
									</TD>
									<TD vAlign=top width="20%" noWrap align=right>户口性质&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="residence_property"  value="${User.residence_property }">
									</TD>
								</TR>
								<TR class=trShallow1>
									<TD vAlign=top width="20%" noWrap align=right>银行名称&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="bank_name"  value="${User.bank_name }">
									</TD>
									<TD vAlign=top width="20%" noWrap align=right>银行卡号&nbsp;
									</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="bank_number" 
										value="${User.bank_number }">
									</TD>
								</TR>
								<TR class=trDeep1>
									
									<TD vAlign=top width="20%" noWrap align=right>办公电话&nbsp;</TD>
									<TD vAlign=top noWrap align=left>&nbsp;<INPUT
										class=textColorWrite name="work_phone"  value="${User.work_phone }">
									</TD>
								</TR>
							</TBODY>
						</TABLE>
					</DIV>
				</TD>
			</TR>
		</TBODY>
	</TABLE>
	<table width="98%" border="0" cellspacing="1" align="center" cellpadding="1" class="ListTable">
<tr align=center>
<td>
	<input type="button" class="mybutton" value='返回' onclick="history.back();"/></td>
<tr>
</table>
</body>
</html>